package com.hdax.dm.rest;

import com.hdax.dm.api.scheduler.SeatPriceControllerAPI;
import com.hdax.dm.service.SchedulerSeatPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RestSeatPriceService implements SeatPriceControllerAPI {

    @Autowired
    private SchedulerSeatPriceService seatPriceService;

    @Override
    public Long seatPrice(Long scheduleId, Long areaLevel) {
        return seatPriceService.seatPrice(scheduleId, areaLevel);
    }
}
